package cn.manager.travel.dao;

import cn.manager.travel.domain.Admin;
import cn.manager.travel.domain.New;

import java.util.List;

public interface AdminDao {
	
	
	List<New> showNews();
	
	Admin login(String username, String password);
	
	void add(String title, String author, String text);
	
	void del(Integer nId);
	
	void upd(Integer nID, String title, String author, String text);
}
